PresentationChanged
ThePresentationChanged
method is called to notify this part that the presentation of one of its display frames has changed.
void PresentationChanged (in ODFrame frame);
frame
- A reference to a display frame for this part.
DISCUSSION
OpenDoc calls this method when this part's display frame changes its presentation.Your part's
PresentationChanged
method should examine the new presentation using its frame'sGetPresentation
method. It should then display itself in the specified display frame according to the indicated presentation. If your part does not support the requested presentation, it should instead pick a presentation that it can support and then call its frame'sSetPresentation
method to update the presentation in the frame.OVERRIDING
When you subclassODPart
, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.EXCEPTIONS
kODErrInvalidFrame
- The specified frame is not a display frame of this part.
SEE ALSO
TheODFrame::ChangePresentation
method (page 310).
TheODFrame::SetPresentation
method (page 337).
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Presentation" on page 156 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help